﻿<%@ Page Language="C#"  MasterPageFile="~/Index.Master" enableSessionState="true" AutoEventWireup="true" CodeBehind="loginlog.aspx.cs" Inherits="Web.manager.loginlog" %>
<%@ Register Src="~/controls/message.ascx" TagName="message" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GVPageManager.ascx" TagPrefix="ui" TagName="gv" %>
<%@ Register src="~/controls/ShortDate.ascx" tagname="ShortDate" tagprefix="uc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div class="content-box">
            <!-- Start Content Box -->
            <div class="content-box-header">
                <h3>
                    登陆日志查询</h3>
                
                <div class="clear">
                </div>
            </div>
            <!-- End .content-box-header -->
            <div class="content-box-content">
                <div class="tab-content default-tab" id="tab1">

                <div class="form1">
                        <p></p>
                <label>用户类型：</label><asp:DropDownList ID="ddl_roleid" runat="server" CssClass="small-input">
                <asp:ListItem Text="运营商用户" Value="0"></asp:ListItem>
                <asp:ListItem Text="运营商操作员" Value="1"></asp:ListItem>
                <asp:ListItem Text="集团用户" Value="2"></asp:ListItem>
                <asp:ListItem Text="集团操作员" Value="3"></asp:ListItem>
                <asp:ListItem Text="个人用户" Value="4"></asp:ListItem>
                                </asp:DropDownList>

                                &nbsp;<label>用户名称：</label> <asp:TextBox ID="txb_keyword" CssClass="text-input small-input" runat="server"></asp:TextBox>
                                
                                &nbsp;<label>开始时间：</label><uc1:ShortDate ID="txtStartTime" runat="server" />

                                &nbsp;<label>结束时间：</label><uc1:ShortDate ID="txtEndTime" runat="server" />&nbsp;
                                <asp:Button ID="btn_save" CssClass="button" runat="server" 
                        Text="查询" onclick="btn_save_Click"  />
</div>


                    <uc:message ID="u_message" Visible="false" runat="server" />

                    <asp:GridView ID="GridView1" AutoGenerateColumns="False" runat="server"
                   >
                        <Columns>
                            <asp:BoundField DataField="userid" HeaderText="用户编号" SortExpression="userid" />
                            <asp:BoundField DataField="loginid" HeaderText="登录名" />
                            <asp:BoundField DataField="username" HeaderText="昵称" />
                            <asp:BoundField DataField="LoginTime" HeaderText="登录时间" />
                            <asp:BoundField DataField="Success" HeaderText="登录状态" />
                            <asp:BoundField DataField="Reason" HeaderText="备注" />
                            <asp:BoundField DataField="LocalIp" HeaderText="登录IP" />
                        </Columns>
                    </asp:GridView>
                    <ui:gv ID="GV" runat="server" />
                </div>
                <!-- End #tab1 -->
            </div>
            <!-- End .content-box-content -->
        </div>
    </form>
</asp:Content>